Back

Wget - intro

What is wget?

wget is a command-line tool for downloading files from the internet. It supports protocols like HTTP, HTTPS, and FTP and is ideal for automated or large downloads.

What is wget Used For?

  • Downloading files directly from URLs.
  • Resuming interrupted downloads.
  • Automating downloads in scripts.
  • Downloading entire directories or websites.

Examples:

Download a File:
wget https://example.com/file.zip

Resume Interrupted Download:

wget -c https://example.com/largefile.iso

Download Entire Website:

wget -r https://example.com

Download Multiple Files:

wget -i urls.txt

(urls.txt contains a list of URLs)

Limit Download Speed:

wget --limit-rate=1m https://example.com/file.zip

Why Use wget?

  • Automates repetitive downloads.
  • Reliable for large files or unstable networks.
  • Works in headless environments (no GUI)
wget command-line tool
Posted To avatar
Programming
• 7 months ago

Please login or create an account to post a comment.

No Posts
No comments yet...